<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">

<h:body>
	<ui:composition template="/WEB-INF/template/template_default.xhtml">
		<ui:define name="content">

			<div id="tabela_produto">

				<table style="width: 50%" id="table">
					<caption>Endereço do envio</caption>
					<tr>
						<th></th>
						<th>Detalhes</th>
					</tr>
					<tr>
						<td>Nome</td>
						<td>Nome do cliente</td>
					</tr>
					<tr>
						<td>Endereço</td>
						<td>Endereço do cliente</td>
					</tr>
					<tr>
						<td>Cidade</td>
						<td>Cidade onde cliente mora</td>
					</tr>
					<tr>
						<td>Estado</td>
						<td>Estado onde cliente mora</td>
					</tr>
					<tr>
						<td>Produto</td>
						<td>Nome do produto</td>
					</tr>
					<tr>
						<td>Quantidade</td>
						<td>qtd</td>
					</tr>
					<tr>
						<td>Cartão</td>
						<td>Cartão do cliente</td>
					</tr>
					<tr>
						<td>Data da compra</td>
						<td>Data</td>
					</tr>

				</table>
				<br />
				<h:form>
					<div align="left">
						<p:commandButton value="Cancelar compra"
							action="#{carrinhoBean.confirmaCompra}" icon="ui-icon-alert" />
					</div>

					<br />

					<div align="left">
						<p:commandButton value="Enviar" type="reset"
							action="#{carrinhoBean.confirmaCompra}" icon="ui-icon-check" />
					</div>
				</h:form>
			</div>
		</ui:define>
	</ui:composition>
</h:body>
</html>